package com.akcome.apollo.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.akcome.apollo.domain.BmpLoginLog;
import com.akcome.apollo.repository.BmpLoginLogRepository;
import com.akcome.apollo.service.BmpLoginLogService;


/**
 * 登录日志Service接口实现
 *
 * @author wn
 * @version $v: 1.0.0, $time:2017-12-26 08:49:00 Exp $
 */
@Service
public class BmpLoginLogServiceImpl implements BmpLoginLogService {

	private Logger logger = LoggerFactory.getLogger(this.getClass());

	@Autowired
	private BmpLoginLogRepository bmpLoginLogRepository;
	
	@Override
	public BmpLoginLog save(BmpLoginLog bmpLoginLog){
		return bmpLoginLogRepository.save(bmpLoginLog);
	}
	
	@Override
	public BmpLoginLog findOne(Long id){
		return bmpLoginLogRepository.findOne(id);
	}
}
